package com.github.ghsea.cc.module;

import java.io.Serializable;
import java.util.Date;

public class InterceptedLog implements Serializable {

	private static final long serialVersionUID = -9186039538255990037L;

	private Long id;

	private String ip;

	private Integer times;

	private Date createTime;

	private Date updateTime;

	/**
	 * 过期时间
	 */
	private Date expireTime;

	private Long ruleId;

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Integer getTimes() {
		return times;
	}

	public void setTimes(Integer times) {
		this.times = times;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Date expireTime) {
		this.expireTime = expireTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getRuleId() {
		return ruleId;
	}

	public void setRuleId(Long ruleId) {
		this.ruleId = ruleId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("[").append("id=").append(id).append(",ip=").append(ip).append(",times=").append(times)
				.append(",createTime=").append(createTime).append(",updateTime=").append(updateTime)
				.append(",expireTime").append(expireTime).append(",ruleId=").append(ruleId).append("]");
		return sb.toString();
	}

}
